RewriteEngine on ErrorDocument 404 http://www.antalyatuvalettikanikligi.biz RewriteCond %{HTTP_HOST} ^antalyatuvalettikanikligi.biz RewriteRule ^(.*)$ http://www.antalyatuvalettikanikligi.biz/$1 [R=permanent,L] RewriteCond %{HTTP_HOST} ^antalyatuvalettikanikligi\.turkey-turkey\.info$ [OR] RewriteCond %{HTTP_HOST} ^www\.antalyatuvalettikanikligi\.turkey-turkey\.info$ RewriteRule ^/?$ "http\:\/\/www\.antalyatuvalettikanikligi\.biz\/" [R=301,L] RewriteCond %{HTTP_HOST} !^www.antalyatuvalettikanikligi.biz$ [NC] RewriteRule ^(.*)$ http://www.antalyatuvalettikanikligi.biz/$1 [L,R=301] RewriteCond %{HTTP_HOST} ^198\.38\.82\.69 RewriteRule (.*) http://www.antalyatuvalettikanikligi.biz/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript ExpiresActive on ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" RewriteCond %{HTTP_USER_AGENT} libwww-perl.* RewriteRule .* – [F,L]